class CreateArticles < ActiveRecord::Migration
  def self.up
    create_table :articles do |t|
    t.string  :name
    t.string  :title
    t.integer :content_id
    t.text :body_text
    t.string :author
    t.string :img_url
    t.timestamps :create_at
    t.timestamps :update_at
    end
  end

  def self.down
    drop_table :articles
  end
end
